package com.muli.muwai.impl;

import com.muli.muwai.dao.FinancingDao;
import com.muli.muwai.entity.Financing;
import com.muli.muwai.service.FinancingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FinancingImpl  implements FinancingService {

    @Autowired
    FinancingDao financingDao;

    @Override
    public void insertAll(List<Financing> list) {
            financingDao.insertList(list);
    }
}
